{include file="public/header" /}
<form method="post">
    <div class="panel admin-panel">
        <table class="table table-hover">
            <tr>
                <th width="120">名称</th>
                <th width="200">图片</th>
                <th width="100">{:lang('label')['handle']}</th>
            </tr>
            {volist name="data" id="card"}
            <tr>
                <td style="line-height:40px">{$card.name}</td>
                <td style="line-height:40px">
                    <img src="{$card.image}" id="image" height="85">
                </td>
                <td style="line-height:40px">
                    <a class="button border-blue button-little" href="javascript:edit('{$card.id}');">{:lang('currency')['edit']}</a>
                </td>
            </tr>
            {/volist}
        </table>
    </div>
</form>
<script>
    function edit(id){
        layer.open({
            type: 2,
            title:'',
            area: ['350px', '260px'], //宽高
            content: '__URL__/flag_edit.html?id='+id
        });
    }
</script>
{include file="public/footer" /}